package com.pe1n.yangtaopai.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Administrator on 2016/11/22.
 */

public class PreferenceBean {

    /**
     * status : 200
     * msg : 加载成功
     * data : [{"title":"首单5折买什么","image_path":"http://www.yangtaotop.com/upload/app_banner/20161110/保税区299-60-3块豆腐.jpg","redirect_url":"","r_type":"1","target_id":"139","keyword":""},{"title":"百元品质好物","image_path":"http://www.yangtaotop.com/upload/app_banner/20161105/百元好物1701.jpg","redirect_url":"","r_type":"1","target_id":"97","keyword":""},{"title":"保税极速达","image_path":"http://www.yangtaotop.com/upload/app_banner/20161105/保税极速达1701.jpg","redirect_url":"","r_type":"1","target_id":"98","keyword":""}]
     */

    @SerializedName("status")
    private int status;
    @SerializedName("msg")
    private String msg;
    @SerializedName("data")
    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * title : 首单5折买什么
         * image_path : http://www.yangtaotop.com/upload/app_banner/20161110/保税区299-60-3块豆腐.jpg
         * redirect_url :
         * r_type : 1
         * target_id : 139
         * keyword :
         */

        @SerializedName("title")
        private String title;
        @SerializedName("image_path")
        private String imagePath;
        @SerializedName("redirect_url")
        private String redirectUrl;
        @SerializedName("r_type")
        private String rType;
        @SerializedName("target_id")
        private String targetId;
        @SerializedName("keyword")
        private String keyword;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getImagePath() {
            return imagePath;
        }

        public void setImagePath(String imagePath) {
            this.imagePath = imagePath;
        }

        public String getRedirectUrl() {
            return redirectUrl;
        }

        public void setRedirectUrl(String redirectUrl) {
            this.redirectUrl = redirectUrl;
        }

        public String getRType() {
            return rType;
        }

        public void setRType(String rType) {
            this.rType = rType;
        }

        public String getTargetId() {
            return targetId;
        }

        public void setTargetId(String targetId) {
            this.targetId = targetId;
        }

        public String getKeyword() {
            return keyword;
        }

        public void setKeyword(String keyword) {
            this.keyword = keyword;
        }
    }
}
